package cn.bonoon.kernel.menus.privileges;

import cn.bonoon.kernel.menus.MenuDefinition;
import cn.bonoon.kernel.menus.MenuableDefinition;
import cn.bonoon.kernel.menus.TabItemDefinition;
import cn.bonoon.kernel.menus.TabsDefinition;

public interface PrivilegeInspector extends ChannelPrivilegeInspector {
	
	PrivilegeInspector ALL = new AllPrivilegeInspector();
	
	boolean hasPrivilege(MenuDefinition item);

	boolean hasPrivilege(MenuableDefinition item);

	boolean hasPrivilege(TabsDefinition item);

	boolean hasPrivilege(TabItemDefinition item);

}
